import { Module } from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import { JwtStrategy } from "src/auth/guard/jwt/auth.jwt.strategy";
import { DebuggerService } from "src/debugger/service/debugger.service";
import { JwtRefreshStrategy } from "./guard/jwt-refresh/auth.jwt-refresh.strategy";
import { AuthService } from "./auth.service"
import { AuthController } from "./auth.controller";
import { UserModule } from "src/modules/user/user.module";
import { CacheService } from "src/utils/cache/cache.service";

@Module({
  providers: [
    AuthService,
    JwtStrategy,
    JwtRefreshStrategy,
    ConfigService,
    DebuggerService,
    CacheService
  ],
  exports: [AuthService],
  controllers: [AuthController],
  imports: [UserModule],
})
export class AuthModule {}
